<div class="mainleftsp">
<div class="mainleft">
<div class="main_prod_notes">
<h2><{$ownerEntity->username}></h2>
<br />
<br />
<{$ownerEntity->bio}></div>
</div>
</div>

<{foreach item=masterCategoryProductsEntity
from=$masterCategoryProductsEntities}>
<div class="mainleft">
<div class="main_prod_notes">
<h3><{$masterCategoryProductsEntity->name}></h3>
</div>
</div>

<div class="mainleftsp">
<div class="mainleft">
<div class="innerprod">
<ul>
	<{assign var=iCount value=0}> 
	<{foreach name=outer item=productEntity	from=$masterCategoryProductsEntity->productList}> 
	<{if $iCount eq 0}>
		<{assign var=className value='left'}>
	<{elseif $iCount eq 1 || $iCount eq 2 || $iCount eq 3 || $iCount eq 4}>
		<{assign var=className value=''}>
	<{elseif $iCount eq 5}>
		<{assign var=className value='right'}>
	<{/if}>

	<li class="<{$className}>">
		<span title="header=[<img src='<{$productEntity->getMainImage()}>' style='vertical-align:middle; height: auto; width: <{$productEntity->getWidthOfMainImage()}>px;'>] body=[]">
			<a href="<{$APPLICATION_URL}>/Browse/Product/detail/id/<{$productEntity->id}>">
				<img src="<{$productEntity->getThumb()}>" alt="<{$productEntity->name}>" width="100" height="100" border="0" />
			</a>
		</span> 
		<span>
			<h3>
				<a href="<{$APPLICATION_URL}>/Browse/Product/detail/id/<{$productEntity->id}>"><{$productEntity->name}></a>
			</h3>
		</span> 
		<span><a href="<{$APPLICATION_URL}>/Browse/Product/detail/id/<{$productEntity->id}>">Price &pound;<{$this->getProductPrice($productEntity->id)}></a></span>
	</li>

	<{assign var=iCount value=$iCount+1}>
	<{if $iCount > 5}>
		<{assign var=iCount value=0}>
	<{/if}>
	<{/foreach}>
</ul>
</div>
</div>
</div>
<{/foreach}>
